<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="theme-color" content="#000000">
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png">
    <link href="https://vjs.zencdn.net/7.5.4/video-js.css" rel="stylesheet">

    <title>思特沃克-编程体验之旅</title>

</head>
<body>
<noscript>
    You need to enable JavaScript to run this app.
</noscript>
<div id="root">


</div>
<!--
  This HTML file is a template.
  If you open it directly in the browser, you will see an empty page.

  You can add webfonts, meta tags, or analytics to this file.
  The build step will place the bundled scripts into the <body> tag.

  To begin the development, run `npm start` or `yarn start`.
  To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="./event-tracking/sdk.js"></script>
<script src="./event-tracking/sender.js"></script>
<script src="./event-tracking/event-util.js"></script>
<script src="./event-tracking/collect.js"></script>
<script>
  (function (doc, win) {
    var docEl = doc.documentElement,
      isIOS = navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
      dpr = isIOS ? Math.min(win.devicePixelRatio, 3) : 1,
      dpr = window.top === window.self ? dpr : 1,
      dpr = 1,
      scale = 1 / dpr,
      resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
    docEl.dataset.dpr = dpr;
    var metaEl = doc.createElement('meta');
    metaEl.name = 'viewport';
    metaEl.content = 'initial-scale=' + scale + ',maximum-scale=' + scale + ', minimum-scale=' + scale;
    docEl.firstElementChild.appendChild(metaEl);
    var recalc = function () {
      var width = docEl.clientWidth;
      if (width / dpr > 750) {
        width = 750 * dpr;
      }
      // 乘以100，px : rem = 100 : 1
      docEl.style.fontSize = 100 * (width / 750) + 'px';
    };
    recalc()
    if (!doc.addEventListener) return;
    win.addEventListener(resizeEvt, recalc, false);
  })(document, window);

  window.onload = function () {
    sdk.init([
      {
        className: 'tws-4th-video-KarenStory', eventType: 'click', remark: 'Karen\'s Story'
      }, {
        className: 'tws-4th-video-Rebecca', eventType: 'click', remark: 'Rebecca'
      }, {
        className: 'tws-4th-btn-signUp', eventType: 'click', remark: '我要报名'
      }, {
        className: 'tws-4th-btn-selfStudy', eventType: 'click', remark: '开始自学'
      }, {
        className: 'tws-4th-btn-index', eventType: 'click', remark: '首页'
      }, {
        className: 'tws-4th-btn-aboutThoughtworks', eventType: 'click', remark: '关于 ThoughtWorks'
      }, {
        className: 'tws-4th-btn-ThoughtWorksOfficial', eventType: 'click', remark: 'ThoughtWorks 官网'
      }, {
        className: 'tws-4th-btn-techRadar', eventType: 'click', remark: '技术雷达'
      }, {
        className: 'tws-4th-btn-thoughtWorksLive', eventType: 'click', remark: 'ThoughtWorks Live'
      }
    ], 'ThoughtWorks 结对编程第四季')
  }

</script>
<script src='https://vjs.zencdn.net/7.5.4/video.js'></script>
</body>
</html>
